package lab02.test13;

public class School extends ComputerAverage {

    double math;
    double PE;
    double computer;
    double english;
    double ps;

    /*
    继承抽象类需要将抽象类中的抽象方法重写
    * */
    //重写抽象方法
    @Override
    public double average() {
        return (math+PE+computer+english+ps)/5;
    }
}
